#include <stdio.h>

int foo(void);

int main(void) {
    const int days[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
    int i;

    printf("sizeof days: %lu\n", sizeof days);
    printf("sizeof days[0]: %lu\n", sizeof days[0]);

    for (i = 0; i < foo(); i++)
        printf("Month %2d has %2d days.\n", i + 1, days[i]);

    return 0;
}

int foo(void) {
    printf("--\n");
    
    return 12;
}
